<template>
    <div>

    </div>
</template>

<script setup lang="ts">
import { WebSocketHandler } from '@/api/webSocketHandler'
let url = "ws://localhost:8085/websocket?webSocketId=" + userInfoState().user.webSocketId
const socket = new WebSocket(url);
const webSockedHander = new WebSocketHandler(socket);

//绑定监听websocket的各种事件
webSockedHander.bind()

</script>


<style scoped></style>

